<%@ include file="../layout/taglib.jsp"%>
<div class="content-top" id="basket_detail">
	<div class="container section group">
			<div class="col span_2_of_contact">
				<div class="container contact-form">
					<h3>Your profile</h3>
					<f:form modelAttribute="user" method="POST" action="saveProfile"
						enctype="multipart/form-data">
					
						 <f:input path="idUser" type="hidden"/>
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>First Name</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"><f:input
									path="firstName" /></p>
							</div>
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Last Name</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"><f:input
									path="lastName" /></p>
							</div>
						</div>
						
                        <div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Login</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"> <f:input
									path="username" /></p>
							</div>
						</div>
						
						  <div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Password</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"> <f:input
									path="password" type="password" /></p>
							</div>
						</div>
						

                      <div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Email</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"> <f:input
									path="email" /></p>
							</div>
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Tel</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"> <f:input
									path="tel" /></p>
							</div>
						</div>
						
						  <div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Address</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"> <f:textarea
									path="address" /></p>
							</div>
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>City</label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;"> <f:input
									path="city" /></p>
							</div>
						</div>
						
						<div>

							<c:if test="${user.idUser!=null}">
								<img src="photoProfile/${user.idUser}" width="125px"
									height="125px" />
							</c:if>
							<br /> <span><label>Photo</label></span> <span> <input
								type="file" name="file" />
							</span>

						</div>


						<div>
							<span><input type="submit" value="Modify"></span>
						</div>


					</f:form>
					<br/>
				</div>
			</div>
			<div class="col span_1_of_contact">
				<div class="company_address">
					<h3>Company Information :</h3>
					<p>500 Lorem Ipsum Dolor Sit,</p>
					<p>22-56-2-9 Sit Amet, Lorem,</p>
					<p>Phone:(00) 222 666 444</p>
					<p>Fax: (000) 000 00 00 0</p>
					<p>
						Email: <span>info[at]mycompany.com</span>
					</p>
					<p>
						Follow on: <span>Facebook</span>, <span>Twitter</span>
					</p>
				</div>
			</div>
			<div class="clear"></div>
		</div>
</div>